package me.liuyu2783.dubbo.sample.http;

import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;

/**
 * me.liuyu2783.dubbo.sample.tomcat
 *
 * @author liuyu2783
 * @date 2020-3-3
 */
public class DispatchServlet extends HttpServlet {

    protected void service(HttpServletRequest req, HttpServletResponse resp)
            throws ServletException, IOException {
        System.out.println("*************");
        new HttpServerHandler().handler(req,resp);
    }

}
